package com.woniu.sharepark.platformsystem.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 代金券信息实体类
 * @author xin
 * @date 2019/6/1 11:44
 */
@Component
public class Voucher {
    private Integer vId;

    private Double vSum;

    private Date vTerm;

    private Integer uId;

    private Integer vFlag;

    public Integer getvId() {
        return vId;
    }

    public void setvId(Integer vId) {
        this.vId = vId;
    }

    public Double getvSum() {
        return vSum;
    }

    public void setvSum(Double vSum) {
        this.vSum = vSum;
    }

    public Date getvTerm() {
        return vTerm;
    }

    public void setvTerm(Date vTerm) {
        this.vTerm = vTerm;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getvFlag() {
        return vFlag;
    }

    public void setvFlag(Integer vFlag) {
        this.vFlag = vFlag;
    }

    @Override
    public String toString() {
        return "Voucher{" +
                "vId=" + vId +
                ", vSum=" + vSum +
                ", vTerm=" + vTerm +
                ", uId=" + uId +
                ", vFlag=" + vFlag +
                '}';
    }
}